package fr.playsoft.psas.parcel;

import android.app.ListActivity;
import android.os.Bundle;
import android.widget.ArrayAdapter;

public class Parcel3 extends ListActivity {
    	
	/** Called when the activity is first created. */
	public void onCreate(Bundle icicle) {
		super.onCreate(icicle);
		
		ComplexObj1 items = getIntent().getParcelableExtra("_compObj");
		if(items == null)
			throw new IllegalArgumentException("Why ComplexObj1 Parcelable is NULL?");
		this.setListAdapter(new ArrayAdapter<String>(this,
				android.R.layout.simple_list_item_1, items.toArrString()));
	}

	
}